package com.example.tool.adapter;

import android.content.Context;
import android.view.View;

import com.example.tool.R;
import com.example.tool.adapter.base.CommonAdapter;
import com.example.tool.adapter.base.CommonViewHolder;

import java.util.List;

/**
 * Created Date 2019/8/25.
 *
 * @author liangkun
 * ClassDescription：
 */
public class GrideAdapter extends CommonAdapter<String> {
    public GrideAdapter(Context context, List<String> datas, int layoutId) {
        super(context, datas, layoutId);
    }

    @Override
    protected void onBindData(final CommonViewHolder holder, String s, final int position) {
//        holder.setText(R.id.tv_home_item, s);
//        holder.setOnClickListener(R.id.card_home_item, new View.OnClickListener() {
//            @Override
//            public void onClick(View v) {
//                if (mOnItemClickListener != null) {
//                    mOnItemClickListener.onItemClick(v, holder, position);
//                }
//            }
//        });
    }
}
